package cn.itlaobing.eshop.web.filter;/**
 * Created by 1223 on 2017/11/13.
 */

import org.sitemesh.builder.SiteMeshFilterBuilder;
import org.sitemesh.config.ConfigurableSiteMeshFilter;

import javax.servlet.annotation.WebFilter;

/**
 * 类名：
 * 描述：
 * 作者：陈志凯
 * 时间：2017/11/13
 */
@WebFilter("/*")
public class SiteMeshFilter extends ConfigurableSiteMeshFilter {
    @Override
    protected void applyCustomConfiguration(SiteMeshFilterBuilder builder) {
        builder.addDecoratorPath("/**","/WEB-INF/views/layout/application.jsp");
    }
}
